<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Validation Language Lines
    |--------------------------------------------------------------------------
    |
    | The following language lines contain the default error messages used by
    | the validator class. Some of these rules have multiple versions such
    | as the size rules. Feel free to tweak each of these messages here.
    |
    */

    'accepted'             => '请确认 :attribute.',
    'active_url'           => ':attribute 必须是一个有效的网址',
    'after'                => '日期 :attribute 必须在 :date 之后',
    'alpha'                => ':attribute 必须只包含字母',
    'alpha_dash'           => ':attribute 必须只包含字母、数字、破折号（ - ）以及下划线（ _ ）',
    'alpha_num'            => ':attribute 必须只包含字母、数字',
    'array'                => ':attribute 必须是一个数组',
    'before'               => '日期 :attribute 必须在 :date 之后',
    'between'              => [
        'numeric' => ':attribute 必须介于 :min - :max 之间',
        'file'    => ':attribute 文件的大小必须介于 :min - :max kb之间',
        'string'  => ':attribute 的长度必须介于 :min - :max 个英文字符之间',
        'array'   => ':attribute 的项目个数必须在 :min - :max 之间',
    ],
    'boolean'              => ':attribute 只能是是或否',
    'confirmed'            => '必须确认 :attribute',
    'date'                 => ':attribute 不是日期格式',
    'date_format'          => ':attribute 必须按照以下格式书写 :format.',
    'different'            => ':attribute 不能与 :other 相同',
    'digits'               => ':attribute 必须是长度为 :digits 的数字',
    'digits_between'       => ':attribute 必须是长度在 :min - :max 之间的数字',
    'email'                => ':attribute 不是有效的邮箱格式',
    'exists'               => ':attribute 未找到记录!',
    'filled'               => 'The :attribute field is required.',
    'image'                => ':attribute 必须是图片',
    'in'                   => '请选择 :attribute',
    'integer'              => ':attribute 必须是一个整数',
    'ip'                   => ':attribute 必须是一个IP地址',
    'json'                 => ':attribute 必须是一个JSON字符串',
    'max'                  => [
        'numeric' => ':attribute 不能大于 :max',
        'file'    => ':attribute 文件大小不能超过 :max kb',
        'string'  => ':attribute 长度不能超过 :max 个英文字符',
        'array'   => ':attribute 的项目个数不能超过 :max',
    ],
    'mimes'                => ':attribute 的文件格式必须是 :values',
    'min'                  => [
        'numeric' => ':attribute 不能小于 :min',
        'file'    => ':attribute 文件大小不能小于 :min kb',
        'string'  => ':attribute 长度不能小于 :min 个英文字符.',
        'array'   => ':attribute 的项目个数不能小于 :min.',
    ],
    'not_in'               => 'The selected :attribute is invalid.',
    'numeric'              => ':attribute 必须是一个数字',
    'regex'                => ':attribute 格式错误',
    'required'             => ':attribute 为必填项',
    'required_if'          => '当:other 为 :value 时 必须填写 :attribute',
    'required_unless'      => 'The :attribute field is required unless :other is in :values.',
    'required_with'        => 'The :attribute field is required when :values is present.',
    'required_with_all'    => 'The :attribute field is required when :values is present.',
    'required_without'     => 'The :attribute field is required when :values is not present.',
    'required_without_all' => 'The :attribute field is required when none of :values are present.',
    'same'                 => ':attribute 必须与 :other 相同',
    'size'                 => [
        'numeric' => ':attribute 的长度必须为 :size.',
        'file'    => ':attribute 的文件大小必须为 :size kb',
        'string'  => ':attribute 的长度必须是 :size 个英文字符',
        'array'   => ':attribute 必须包含 :size 个项目',
    ],
    'string'               => ':attribute 必须是一个字符串',
    'timezone'             => ':attribute 不是有效时区',
    'unique'               => ':attribute 数据已存在',
    'url'                  => ':attribute 必须是一个有效链接',

    /*
    |--------------------------------------------------------------------------
    | Custom Validation Language Lines
    |--------------------------------------------------------------------------
    |
    | Here you may specify custom validation messages for attributes using the
    | convention "attribute.rule" to name the lines. This makes it quick to
    | specify a specific custom language line for a given attribute rule.
    |
    */

    'custom' => [
        'attribute-name' => [
            'rule-name' => 'custom-message',
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Custom Validation Attributes
    |--------------------------------------------------------------------------
    |
    | The following language lines are used to swap attribute place-holders
    | with something more reader friendly such as E-Mail Address instead
    | of "email". This simply helps us make messages a little cleaner.
    |
    */

    'attributes' => [],

];
